//
//  PlayGhostLayer.h
//  NewMath
//
//  Created by Ngô Hoàng Nam on 1/3/15.
//
//

#ifndef __NewMath__PlayGhostLayer__
#define __NewMath__PlayGhostLayer__

#include "cocos2d.h"
#include "../../../GameConfig.h"
#include "../../../Objects/Ghost/Play/GhostAdjust.h"
#include "../../../Objects/Ghost/Play/GhostSelect.h"
USING_NS_CC;

class PlayGhostLayer : public Layer
{
private:
    Size m_screenSize;
    
    void initPanelGhost(Node* nodePanel,float panelWidth,float panelHeight, int numRow, int numCol, int numGhost, int visibleGhost, EGhostColor ghostColor);
    public:
    PlayGhostLayer(Size screenSize);
    void initAdjustPlayOneCol(Node* nodeRoot, int numGhost, int visibleGhost);
    void initAdjustPlayTwoCol(Node* nodeRoot, int numGhostCol1,int numGhotCol2, int visibleGhost1,int visibleGhost2);

	void initalizeSelectPlay(Node* nodeRoot,int correctValue);
    
};

#endif /* defined(__NewMath__PlayGhostLayer__) */
